﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TMS_Master.Dto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace TMS_Master.Interface
{
    /// <summary>
    /// 物资领用
    /// </summary>
    public interface IGoods_ReceivingService : IApplicationService
    {
        //添加
        Task<int> CreateGoods(Goods_ReceivingUpdateDto Cg);

        //显示
        Task<PagedResultDto<Goods_ReceivingDto>> GetList(int PageIndex, int PageSize, string name,string date,string state,string uname);

        //修改
        Task<Goods_ReceivingDto> EditGoods(Goods_ReceivingUpdateDto Cg);

        //反填数据
        Task<Goods_ReceivingDto> FullGoods(Guid Id);

        //删除
        Task<int> DelCargo(Guid Id);

        //详情
        Task<Goods_ReceivingDto> Details(Guid Id);

        //逻辑修改(提交审批)
        Task<Goods_ReceivingDto> ProvRefer(Guid Id);

        //逻辑修改(重新提交)
        Task<Goods_ReceivingDto> ProvAnew(Guid Id);
    }
}
